package com.dingli.service;


import com.dingli.framework.entity.Member;
import com.dingli.framework.entity.Recruit;
import com.dingli.framework.entity.Resume;
import com.dingli.framework.util.Response;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IRecruitService {

    //列表查询招聘信息
    Response<PageInfo<Recruit>> Rtlist(String search, Integer pageNum, Integer pageSize);

    //多条件查询招聘信息
    Response<List<Recruit>> RtselectArea(String rtPoaition);

    //添加新增业务接接口
    Response<Long> Rtinsert(Recruit recruit);

    //添加查询业务接口。
    Response<Recruit> RtselectById(Long rtID);

    //修改方法
    Response<Object> RtupdateById(Recruit recruit);

    //添加删除业务接口。
    Response<Object> RtdeleteById(Long rtID);

    //审核招聘信息通过
    Response<Object> RtupdateState (String rtID);

    //审核招聘信息不通过
    Response<Object> Rtupdate (String rtID);

    //查询审核中的招聘信息
    Response<List<Recruit>> RtselectState(String reState);

    //查询审核通过的招聘信息
    Response<List<Recruit>> RtselectState1(String reState);

    //统计招聘信息数量
    Response<List<Recruit>> RtAll(String rtID);
}
